package com.xunji.user.vo.rep;

import com.xunji.user.entity.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


@ApiModel("人员分页查询")
@Data
public class UserPageResponse {

    @ApiModelProperty("人员id")
    private String id;

    @ApiModelProperty("人员姓名")
    private String name;

    @ApiModelProperty("性别")
    private Integer gender;

    @ApiModelProperty("所属部门id")
    private Integer departmentId;

    @ApiModelProperty("所属机构")
    private String pDepartment;

    @ApiModelProperty("所属部门")
    private String department;

    @ApiModelProperty("联系方式")
    private String phoneNumber;

    //@ApiModelProperty("是否关联用户")
    //private Integer withLoginName;

    @ApiModelProperty("登录名")
    private String loginName;

    @ApiModelProperty("所属角色")
    private List<Role> roles;

    @ApiModelProperty("是否关联用户")
    private Integer withLoginImage;
}
